import static java.lang.System.out;

public class Vararg {

	static public String testVararg(String... args) {
	    StringBuilder sb = new StringBuilder();
	    for (String str : args) {
	        sb.append(str);
	    }
	    return sb.toString();
	}

	public static void main(String[] args) {
		String str = testVararg("1","2","3");
		out.println(str);
	}

}
